/*项目信息管理-详情-项目基本信息*/
import 'package:flutter/cupertino.dart';
import 'package:frametrim/appviews/textUpPhoneView.dart';
import 'package:frametrim/appviews/textUpTextView.dart';
import 'package:frametrim/appviews/textUpTextViewJump.dart';

import '../../appviews/lineToTextView.dart';
import '../../model/DistrictCommonM.dart';
import '../../model/ProjectMessManagerBasicM.dart';
import '../../utility/Tools.dart';
import '../../utility/sq_color.dart';

class CompanyMessDetailsPage03 extends StatefulWidget {
  @override
  State<StatefulWidget> createState() => CompanyMessDetailsPage03State();
}

class CompanyMessDetailsPage03State extends State<CompanyMessDetailsPage03> {
  late ScrollPhysics physics = NeverScrollableScrollPhysics();

  @override
  Widget build(BuildContext context) {
    return Container(
      child: ListView.builder(
        padding: EdgeInsets.only(top: 0),
          itemBuilder: (context, index) {
            return buildItem(index);
          },
          itemCount: 2),
    );
  }

  /*item*/
  Widget buildItem(int index) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        LineToTextView(
            text1: "证书${index + 1}",
            textSize: 14,
            isBind: false,
            paddingTop: 3,
            textColor: SQColor.color_3D3D3D),
        TextUpTextView('资质证书类型', '建筑资质'),
        TextUpTextView('资质证书编号', '123232321332'),
        TextUpTextView('证书有效期起始日', '2022-09-01'),
        TextUpTextView('证书有效期截止日', '2025-09-01'),
        TextUpTextView('资质类别及等级', '施工劳务'),
        TextUpTextViewJump('企业资质证书', '', "点击查看", '')
      ],
    );
  }
}
